package com.ruoyi.iot.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备类型监测参数对象 fac_devices_monitor_param
 * 
 * @author rww
 * @date 2024-06-21
 */
public class FacDevicesMonitorParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 设备类型监测表id */
    private Long monitorId;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private Long typeId;

    /** 参数 */
    @Excel(name = "参数")
    private String field;

    /** 参数名称 */
    @Excel(name = "参数名称")
    private String fieldName;

    /** 参数类型 */
    @Excel(name = "参数类型")
    private String fieldType;

    /** 参数单位 */
    @Excel(name = "参数单位")
    private String fieldUnit;

    /** 参数顺序 */
    @Excel(name = "参数顺序")
    private String fieldSort;

    /** 是否固定 */
    @Excel(name = "是否固定")
    private Boolean isFix;

    /** 是否控制 */
    @Excel(name = "是否控制")
    private Boolean isControl;

    /** 枚举code */
    @Excel(name = "枚举code")
    private String fieldValue;

    /** 是否识别 */
    @Excel(name = "是否识别")
    private Boolean isIdentify;

    /** 是否显示 */
    @Excel(name = "是否显示")
    private Boolean isShow;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMonitorId(Long monitorId) 
    {
        this.monitorId = monitorId;
    }

    public Long getMonitorId() 
    {
        return monitorId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setField(String field) 
    {
        this.field = field;
    }

    public String getField() 
    {
        return field;
    }
    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }
    public void setFieldType(String fieldType) 
    {
        this.fieldType = fieldType;
    }

    public String getFieldType() 
    {
        return fieldType;
    }
    public void setFieldUnit(String fieldUnit) 
    {
        this.fieldUnit = fieldUnit;
    }

    public String getFieldUnit() 
    {
        return fieldUnit;
    }
    public void setFieldSort(String fieldSort) 
    {
        this.fieldSort = fieldSort;
    }

    public String getFieldSort() 
    {
        return fieldSort;
    }
    public void setIsFix(Boolean isFix) 
    {
        this.isFix = isFix;
    }

    public Boolean getIsFix() 
    {
        return isFix;
    }
    public void setIsControl(Boolean isControl) 
    {
        this.isControl = isControl;
    }

    public Boolean getIsControl() 
    {
        return isControl;
    }
    public void setFieldValue(String fieldValue) 
    {
        this.fieldValue = fieldValue;
    }

    public String getFieldValue() 
    {
        return fieldValue;
    }
    public void setIsIdentify(Boolean isIdentify) 
    {
        this.isIdentify = isIdentify;
    }

    public Boolean getIsIdentify() 
    {
        return isIdentify;
    }
    public void setIsShow(Boolean isShow) 
    {
        this.isShow = isShow;
    }

    public Boolean getIsShow() 
    {
        return isShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("monitorId", getMonitorId())
            .append("typeId", getTypeId())
            .append("field", getField())
            .append("fieldName", getFieldName())
            .append("fieldType", getFieldType())
            .append("fieldUnit", getFieldUnit())
            .append("fieldSort", getFieldSort())
            .append("isFix", getIsFix())
            .append("isControl", getIsControl())
            .append("fieldValue", getFieldValue())
            .append("isIdentify", getIsIdentify())
            .append("isShow", getIsShow())
            .toString();
    }
}
